package com.ynny.entity;

// 用户实体类
public class User {
    private Integer number;
    private String name;
    private String password;
    private String card;

    public User() {
    }

    public User(Integer number, String name, String password, String card) {
        this.number = number;
        this.name = name;
        this.password = password;
        this.card = card;
    }

    /**
     * 获取
     * @return number
     */
    public Integer getNumber() {
        return number;
    }

    /**
     * 设置
     * @param number
     */
    public void setNumber(Integer number) {
        this.number = number;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return card
     */
    public String getCard() {
        return card;
    }

    /**
     * 设置
     * @param card
     */
    public void setCard(String card) {
        this.card = card;
    }

    public String toString() {
        return "User{number = " + number + ", name = " + name + ", password = " + password + ", card = " + card + "}";
    }
}
